package cn.com.ldns.opentetris.common;

public class FloatUtil {
	private static int PRECISION = 10;
	
	public static float valueOf(float a) {
		return (float) (Math.round(a * PRECISION)) / PRECISION;
	}
}
